package com.sbl.bajw.pc.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sbl.bajw.common.MyBatisDao;
import com.sbl.bajw.mapper.OperationLogModelDao;
import com.sbl.bajw.pc.model.OperationLogModel;

@Service
public class OperationLogModelService {

	@Resource
	private OperationLogModelDao dao;
	
	@Resource
	private MyBatisDao gridDao;
	
	public void insert(OperationLogModel model){
		dao.insert(model);
	}
	
	public void update(OperationLogModel model){
		dao.update(model);
	}
	
	public String getOperationLogList(){
		String json = gridDao.selectPage(OperationLogModelDao.class, null, "getOperationLogList");
		return json;
	}
}
